﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace ISUM_V2
{
    [System.Serializable]
    class MacroType
    {


       
        public List<string> _QtoP { get; set; }
        public List<string> _AtoL { get; set; }
        public List<string> _ZtoM { get; set; }

 

        public MacroType ()
        {
            InitAllocation();
        }

        public void InitAllocation ()
        {
            if ( _QtoP == null )
            {
                this._QtoP = new List<string>();
            }

            if ( _AtoL == null )
            {
                this._AtoL = new List<string>();
            }

            if ( _ZtoM == null )
            {
                this._ZtoM = new List<string>();
            }
        }


        public void AddQtoP ( int first, int second, int third, int fourth )
        {
            _QtoP.Add( first + "+" + second + "+" + third + "+" + fourth );
        }


        public void AddAtoL (string process )
        {
         
           _AtoL.Add( process );
           
        }

        public void AddZtoM ( string message )
        {            
            _ZtoM.Add( message );
        }
        
    }
}
